@import "./configuration.scss";

.mainContainer {
  padding-bottom: 0.94rem;
  background-color: #f5f5f5;
  font-family: "MiSans-Regular";
  overflow-y: scroll;
}
.mainSmall {
  min-height: 100vh;
  background: linear-gradient(180deg, #e9fffc 0, rgba(233, 255, 252, 0) 65%) no-repeat;
  background-size: 100% 10.43rem;
}
.mainHead {
  padding: 0.3rem 0.36rem 0;
  box-sizing: border-box;
  color: $main-color;
}
.mainUserInfo {
  width: 100%;
  box-sizing: border-box;
  @include flex(row, space-between, center);
}
.mainInfoLeft {
  @include flex(row, center, center);
}
.mainAvatar {
  width: 1.04rem;
  height: 1.04rem;
  border-radius: 50%;
  margin-right: 0.23rem;
  object-fit: cover;
}
.mainInfoName {
  color: $main-color;
  font-size: 0.32rem;
  font-weight: 500;
  font-family: "MiSans-Medium";
}
.mainInfoCom {
  color: $sec-color;
  font-size: 0.24rem;
  font-family: "MiSans-Regular";
}
.mainInfoRight {
  width: 0.69rem;
  height: 0.69rem;
  line-height: 0;
  img {
    width: 0.69rem;
    height: 0.69rem;
  }
}

.mainUserError {
  width: 100%;
  height: 1.08rem;
  background: #fffbed;
  border-radius: 0.24rem;
  opacity: 1;
  border: 1px solid rgba(254, 160, 49, 0.2);
  margin-top: 0.25rem;
  padding-left: 0.38rem;
  padding-right: 0.67rem;
  box-sizing: border-box;
  @include flex(row, center, center);
  .mainError {
    width: 0.42rem;
    height: 0.42rem;
    margin-right: 0.16rem;
  }
  .mainErrTxt {
    font-size: 0.22rem;
    color: $thr-color;
    font-family: "MiSans-Regular";
    .mainErrTip {
      color: #ff602d;
    }
  }
}

.mainMsgBox {
  background: #ffffff;
  border-radius: 0.32rem;
  opacity: 1;
  margin-top: 0.25rem;
  padding: 0.3rem 0.14rem 0.42rem 0.38rem;
  box-sizing: border-box;
}

.mainMsgHead {
  @include flex(row, space-between, center);
  margin-bottom: 0.26rem;
  .mainMsgTit {
    font-size: 0.29rem;
    color: $main-color;
    font-family: "MiSans-Medium";
  }
  .mainMsgMore {
    @include flex(row, flex-start, center);
    .mainMsgCount {
      font-size: 0.26rem;
      color: $sec-color;
      font-family: "MiSans-Regular";
    }
    .mianMsgArrow {
      width: 0.63rem;
      height: 0.63rem;
    }
  }
}

.mainMsgMinBox {
  @include flex(column, space-between, center);
}
.mainMsgMin {
  width: 100%;
  @include flex(row, space-between, center);
  padding-right: 0.24rem;
  box-sizing: border-box;
  .mainMsgMinIcon {
    @include flex(row, flex-start, center);
    .mainMsgMinIcons {
      width: 0.63rem;
      height: 0.63rem;
      margin-right: 0.25rem;
    }
  }
  .mainMsgDate {
    font-size: 0.25rem;
    color: $sec-color;
    font-family: "MiSans-Normal";
  }
}

.mainActivity {
  .mainActivityTit {
    font-size: 0.29rem;
    color: $main-color;
    font-weight: 500;
    font-family: "MiSans-Medium";
  }
  .mainActivityTxt {
    width: 3.5rem;
    font-size: 0.25rem;
    color: $sec-color;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

.mainContent {
  width: 100%;
  padding: 0 0.25rem;
  box-sizing: border-box;
}

.mainSportBox {
  width: 100%;
  height: 6.5rem;
  background: #ffffff;
  border-radius: 0.33rem;
  margin-top: 0.25rem;
  padding: 0.42rem 0 0.42rem 0.38rem;
  box-sizing: border-box;
}
.mainRankBox::-webkit-scrollbar {
  display: none;
}
.mainSportHead {
  width: 100%;
  padding-right: 0.31rem;
  box-sizing: border-box;
  @include flex(row, space-between, center);
}
.mainSportHeadTit {
    line-height: 0.49rem;
  font-size: 0.29rem;
  color: $main-color;
  font-family: "MiSans-Medium";
}
.mainSportHeadCard {
  width: 1.57rem;
  height: 0.49rem;
  background: #f6f8fb;
  border-radius: 0.35rem;
  border: 1px solid #e7eaee;
  @include flex(row, center, center);
  .mainSportHeadIcon {
    width: 0.35rem;
    height: 0.35rem;
  }
  .mainHeadCardTxt {
    font-size: 0.22rem;
    color: $main-color;
  }
}
.mainRankBox {
  width: 100%;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  margin-top: 0.33rem;
}
.mainCaleBox {
  width: 4.28rem;
  height: 4.9rem;
  background: rgba(216, 208, 234, 0.2);
  border-radius: 0.25rem;
  display: inline-table;
  white-space: nowrap;
  margin-right: 0.38rem;
  padding: 0 0.22rem;
  box-sizing: border-box;
  position: relative;
}
.mainStepBox {
  background: rgba(227, 239, 242, 0.5);
}
.mainTimeBox {
  background: rgba(216, 208, 234, 0.2);
}
.mainActivityBox {
  width: 100%;
  background: #ffffff;
  border-radius: 0.32rem;
  margin-top: 0.25rem;
  padding: 0.3rem 0.14rem 0 0.38rem;
  box-sizing: border-box;
}

.mainActivityUl {
  width: 100%;
  @include flex(column, space-between, center);
}
.mainActivityLi {
  width: 100%;
  margin-bottom: 0.49rem;
  @include flex(row, flex-start, center);
  .mainActivityLiImg {
    width: 2.4rem;
    height: 1.39rem;
    background: #d9d9d9;
    border-radius: 0.16rem;
    margin-right: 0.25rem;
  }
}
.mainActivityInfo {
  .mainActivityInfoTit {
    width: 3.7rem;
    font-size: 0.33rem;
    font-weight: 500;
    color: $main-color;
    font-family: "MiSans-Medium";
    @include ellipsis();
  }
  .mainActivityInfoBtn {
    width: 1.5rem;
    height: 0.56rem;
    background: #ff6330;
    font-family: "MiSans-Medium";
    color: #ffffff;
    border-radius: 0.35rem;
    @include flex(row, center, center);
    margin-top: 0.25rem;
  }
}

.mainSelfRank {
  width: 100%;
  height: 0.69rem;
  background: linear-gradient(90deg, #d9cdf8 0%, rgba(217, 205, 248, 0) 100%);
  border-radius: 0.12rem;
  padding: 0 0.15rem;
  box-sizing: border-box;
  @include flex(row, space-between, center);
}
.mainSelfRankLeft {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  .mainSelfRankTxt {
    min-width: 0.28rem;
    height: 0.28rem;
    line-height: 0.28rem;
    text-align: center;
    color: #746b8a;
    font-weight: bold;
    font-size: 0.22rem;
    margin-right: 0.1rem;
    font-family: "MiSans-Semibold";
  }
  .mainSelfRankName {
    font-size: 0.22rem;
    color: $main-color;
    line-height: 0.22rem;
    font-family: "MiSans-Medium";
  }
}

.mainSelfRankRight {
  .mainSelfRankCount {
    font-size: 0.25rem;
    color: #f74f00;
    font-weight: bold;
  }
  .mainSelfRankUnit {
    font-size: 0.17rem;
    color: #f74f00;
    margin-left: 0.02rem;
    font-family: "MiSans-Normal";
  }
}

.mainOtherRank {
  width: 100%;
  padding: 0 0.1rem;
  box-sizing: border-box;
}
.mainOtherRankUl {
  width: 100%;
  height: 0.85rem;
  border-bottom: 1px solid #e4def2;
  @include flex(row, space-between, center);
}
.mainSelfRankIcon {
  width: 0.28rem;
  height: 0.28rem;
  margin-right: 0.13rem;
}
.mainCaleBoxTit {
  width: 100%;
  height: 0.83rem;
  @include flex(row, center, center);
  position: relative;
}
.mainOtherRankMore {
    width: 100%;
    height: 0.78rem;
    position: absolute;
    left: 0;
    bottom: 0;
    @include flex(row, center, center);
}

.mpContentBox {
  width: 6.11rem;
  height: 5.93rem;
  background: #ffffff;
  border-radius: 0.46rem;
  background-color: #ffffff;
  position: relative;
}

.moCloseBox {
  line-height: 0;
  position: absolute;
  left: 50%;
  margin-left: -0.43rem;
  bottom: -1.23rem;
}
.mpContentBoxImg {
  width: 6.11rem;
  height: 5.93rem;
  @include flex(column, center, center);
}
.moCloseBox,
.moCloseIMg {
  width: 0.86rem;
  height: 0.86rem;
}

.welcomeImg {
  width: 4.35rem;
  height: 2.92rem;
}

.welcomeTxt {
  font-size: 0.6rem;
  font-family: "MiSans-Medium";
  margin-top: 0.63rem;
}
.welcomeName {
  font-size: 0.44rem;
  color: $main-color;
  font-family: "MiSans-Regular";
}

.mainSportTip {
  width: 100%;
  padding: 0.56rem 0.83rem 0.56rem;
  box-sizing: border-box;
  font-size: 0.33rem;
  color: $rich-color;
  font-family: "MiSans-Regular";
}

.mainSportBtnBox {
  width: 100%;
  padding: 0 0.83rem;
  box-sizing: border-box;
  .mainSportBtn {
    width: 100%;
    height: 0.97rem;
    background-color: $btn-bc-color;
    font-size: 0.33rem;
    font-family: "MiSans-Medium";
    font-weight: 500;
    border-radius: 0.69rem;
    color: #ffffff;
    @include flex(row, center, center);
  }
}

.mainCaleBoxTitImg {
  width: 2.55rem;
  height: 0.33rem;
}
.mainCaleBoxTitImgOne {
  width: 2.22rem;
  height: 0.33rem;
}

.mainCaleTipImg {
  width: 0.63rem;
  height: 0.63rem;
  position: absolute;
  right: -0.1rem;
  top: 0.08rem;
}

.mainPrivacyContent {
  width: 100%;
  padding: 0.56rem 0.56rem 0;
  box-sizing: border-box;
  @include flex(column, center, center);
}
.mainPrivacyTit {
  color: $main-color;
  font-size: 0.35rem;
  font-family: "MiSans-Medium";
  text-align: center;
  margin-bottom: 0.35rem;
}
.mainPrivacyTxt {
  width: 5.83rem;
  height: 4.57rem;
  overflow-y: scroll;
  font-size: 0.33rem;
  font-family: "MiSans-Regular";
}
.mainPrivacyBtnBox {
  width: 100%;
  @include flex(row, center, center);
  margin-top: 0.21rem;
}
.mainPrivacyIcon {
  width: 0.63rem;
  height: 0.63rem;
  margin-right: 0.21rem;
}
.mainPrivacyBtnTxt {
  font-size: 0.25rem;
  font-family: "MiSans-Regular";
  color: $thr-color;
}
.mainPrivacyBtn {
  color: #ff612e;
}
.mainPrivacyBtnConfirm,
.mainPrivacyBtnExit {
  width: 100%;
  height: 0.97rem;
  background: #ff612e;
  border-radius: 0.47rem;
  font-size: 0.31rem;
  font-family: "MiSans-Medium";
  @include flex(row, center, center);
  margin-top: 0.21rem;
}
.mainPrivacyBtnConfirm {
  background-color: #ff612e;
  color: #ffffff;
}
.mainPrivacyBtnExit {
  background-color: rgba(0, 0, 0, 0.06);
  color: $main-color;
}

.mainClockBox {
    @include flex(row, center, center);
}
.mainClockTxt {
    font-size: 0.22rem;
    color: $sec-color;
    margin-right: 0.1rem;
    @include flex(row, center, center);
}
.mainClockIcon {
    width: 0.5rem;
    height: 0.5rem;
}

.hosContainer {
    width: 100%;
    padding: 0 0.23rem;
    box-sizing: border-box;
    background-color: #F6F7F9;
    min-height: 100vh;
}
.hosPopBox {
    .adm-center-popup-wrap {
        --max-width: 6.2rem !important;
        --min-width: 6.2rem !important;
        .adm-center-popup-body {
            border-radius: 0.54rem;
        }
    }
    
}
.hosPop {
    width: 6.2rem;
    height: 5.62rem;
    background-color: #FFFFFF;
    border-radius: 0.54rem;
    overflow: hidden;
}
.hosPopTip {
    line-height: 0;
}
.hosPopTipImg {
    width: 100%;
    height: 3.67rem;
}
.hosPopFoot {
    width: 100%;
    height: 1.95rem;
    padding: 0.08rem 0.46rem 0;
    box-sizing: border-box;
    @include flex(row, space-between, center);
}
.hosPopFootCancel {
    width: 2.5rem;
    height: 0.96rem;
    background: rgba(0,0,0,0.06);
    border-radius: 0.3rem;
    @include flex(row, center, center);
    font-weight: 500;
    font-size: 0.33rem;
    color: rgba(0, 0, 0, 0.80);
    font-family: "MiSans-Medium";
}
.hosPopFootBtn {
    background-color: #FF612E;
    color: #FFFFFF;
}




.hosHead {
    width: 100%;
    background-color: #F6F7F9;
    padding-top: 0.29rem;
}

.hosHeadInfo {
    padding-left: 0.27rem;
    margin-bottom: 0.23rem;
    @include flex(row, flex-start, center);
}
.hosHeadAvatar, .hosHeadIcon {
    width: 0.96rem;
    height: 0.96rem;
    border-radius: 50%;
}
.hosHeadName {
    font-size: 0.38rem;
    font-family: "MiSans-Demibold";
    font-weight: bold;
    color: #000000;
    line-height: 0.45rem;
    margin-bottom: 0.1rem;
}
.hosHeadHlth {
    font-size: 0.23rem;
    font-family: "MiSans-Medium";
    color: #000000;
    font-weight: 500;
    line-height: 0.27rem;
    @include flex(row, flex-start, center);
}
.hosHeadHlthIcon {
    width: 0.54rem;
    height: 0.3rem;
}

.hosHeadAbm {
    width: 100%;
    padding: 0.31rem 0.19rem 0.31rem 0.27rem;
    box-sizing: border-box;
    background-color: #E0F0FF;
    border-radius: 0.31rem;
    margin-bottom: 0.23rem;
    @include flex(row, center, center);
}

.hosHeadAbmLeft, .hosHeadAbmIcon {
    width: 0.38rem;
    height: 0.38rem;
}
.hosHeadAbmCenter {
    width: 5.4rem;
    color: #0093FF;
    font-family: "MiSans-Regular";
    font-size: 0.27rem;
    line-height: 0.38rem;
    font-weight: 400;
}
.hosHeadAbmRight, .hosHeadAbmClose {
    width: 0.54rem;
    height: 0.54rem;
}
.hosHeadAvatar {
    margin-right: 0.27rem;
}
.hosHeadAbmLeft {
    margin-right: 0.11rem;
}
.hosHeadAbmRight {
    margin-left: 0.11rem;
}


.hosMsgBox {
    width: 100%;
    border-radius: 0.34rem;
    padding-left: 0.27rem;
    padding-top: 0.08rem;
    background-color: #FFFFFF;
    box-sizing: border-box;
    margin-bottom: 0.23rem;
}
.hosMsgHead {
    width: 100%;
    height: 0.91rem;
    @include flex(row, space-between, center);
}
.hosMsgHeadTit {
    font-family: "MiSans-Demibold";
    font-size: 0.33rem;
    font-weight: bold;
    color: #000000;
}
.hosMsgHeadMore {
    font-family: "MiSans-Regular";
    color: rgba(0, 0, 0, 0.40);
    font-size: 0.27rem;
    font-weight: 400;
    @include flex(row, flex-start, center);
}
.hosMsgHeadIcon {
    width: 0.54rem;
    height: 0.54rem;
}
.hosMsgLi {
    height: 1.45rem;
    padding-bottom: 0.18rem;
    @include flex(row, flex-start, center);
}
.hosMsgLiLeft, .hosMsgLiIcon {
    width: 0.77rem;
    height: 0.77rem;
    border-radius: 50%;
}
.hosMsgLiRight {
    width: 5.5rem;
    padding-left: 0.23rem;
}
.hosMsgLiTop {
    font-family: "MiSans-Medium";
    font-size: 0.31rem;
    font-weight: 500;
    color: #000000;
    line-height: 0.46rem;
}
.hosMsgLiBom {
    color: rgba(0, 0, 0, 0.40);
    font-size: 0.25rem;
    font-family: "MiSans-Regular";
    font-weight: 400;
    line-height: 0.34rem;
    margin-top: 0.08rem;
}
.hosMsgLineBox {
    width: 100%;
    padding-right: 0.27rem;
    box-sizing: border-box;
}
.hosMsgLine {
    width: 100%;
    height: 1px;
    background-color: rgba(0, 0, 0, 0.08);
}

.memAndDrug {
    width: 100%;
    margin-bottom: 0.23rem;
    @include flex(row, space-between, center);
}
.memAndDrugLeft {
    width: 3.42rem;
    height: 1.45rem;
    background: #FFFFFF;
    border-radius: 0.34rem;
    font-family: "MiSans-Medium";
    font-size: 0.33rem;
    font-weight: 500;
    @include flex(row, center, center);
}
.memAndDrugIcon {
    width: 0.77rem;
    height: 0.77rem;
    margin-right: 0.23rem;
}


.hosSportBox {
    width: 100%;
    height: 3.64rem;
    padding: 0.34rem 0.27rem;
    box-sizing: border-box;
    background-color: #FFFFFF;
    border-radius: 0.34rem;
    margin-bottom: 0.23rem;
}

.hosSportTop {
    width: 100%;
    padding: 0 0.08rem;
    box-sizing: border-box;
    @include flex(row, space-between, center);
}

.hosSportStep {
    width: 2.9rem;
    height: 1.07rem;
    color: #000000;
}
.hosStepTop {
    font-family: "MiSans-Regular";
    font-size: 0.27rem;
    line-height: 0.38rem;
    font-weight: 400;
    @include flex(row, flex-start, center);
}
.hosStepIcon {
    width: 0.38rem;
    height: 0.38rem;
    margin-right: 0.04rem;
}
.hosStepNum {
    @include flex(row, flex-start, flex-end)
}
.hosStepCount {
    font-family: "MiSans-Demibold";
    font-weight: bold;
    font-size: 0.46rem;
    line-height: 0.69rem;
}
.hosStepUnit {
    font-weight: 400;
    font-size: 0.23rem;
    font-family: "MiSans-Regular";
    line-height: 0.34rem;
    padding-bottom: 0.12rem;
}
.hosSportLine {
    width: 100%;
    height: 1px;
    background: #000000;
    opacity: 0.08;
    margin-top: 0.38rem;
    margin-bottom: 0.4rem;
}

.hosSleepBox {
    width: 100%;
    padding: 0 0.27rem;
    background-color: #FFFFFF;
    border-radius: 0.34rem;
    margin-bottom: 0.23rem;
    color: #000000;
    box-sizing: border-box;
}

.hosSleepTop {
    width: 100%;
    height: 1.18rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    @include flex(row, space-between, center);
}

.hosSleepLeft {
    font-family: "MiSans-Medium";
    font-size: 0.33rem;
    font-weight: 500;
    line-height: 0.46rem;
    @include flex(row, flex-start, center);
}

.hosSleepIcon {
    width: 0.5rem;
    height: 0.5rem;
    margin-right: 0.19rem;
}
.hosSleepRight {
    font-family: "MiSans-Regular";
    font-size: 0.25rem;
    font-weight: 400;
    line-height: 0.34rem;
    color: rgba(0, 0, 0, 0.35);
}
.sleepEmptyBox {
    padding-left: 0.23rem;
    height: 1.5rem;
    font-family: "MiSans-Demibold";
    font-weight: bold;
    font-size: 0.57rem;
    color: #000000;
    line-height: 0.67rem;
    @include flex(row, flex-start, center);
}

.hosSpContent {
    width: 100%;
    height: 1.65rem;
    padding-left: 0.23rem;
    padding-right: 0.08rem;
    padding-top: 0.4rem;
    box-sizing: border-box;
    @include flex(row, space-between, flex-start);
}
.hosSpCtTit, .hosSpCtRight {
    font-family: "MiSans-Regular";
    color: #000000;
    font-weight: 400;
}
.hosSpCtTit {
    font-size: 0.27rem;
    line-height: 0.38rem;
}
.hosSpCtRight {
    font-size: 0.25rem;
    line-height: 0.34rem;
}
.hosSpCtNum {
    @include flex(row, flex-start, flex-end);
}
.hosSpCtCount {
    font-family: "MiSans-Medium";
    font-weight: 500;
    font-size: 0.38rem;
    color: #000000;
    line-height: 0.45rem;
}
.hosSpCtUnit {
    font-family: "MiSans-Regular";
    font-weight: 400;
    font-size: 0.23rem;
    color: #000000;
    line-height: 0.34rem;
    margin: 0 0.04rem;
    padding-bottom: 0.04rem;
}
.hosHtCountBox {
    padding-top: 0.4rem;
    padding-left: 0.23rem;
    @include flex(row, flex-start, center);
}
.hosHtCountItem {
    width: 1.48rem;
}
.hosHtItemLine {
    width: 1px;
    height: 0.65rem;
    background: #000000;
    opacity: 0.08;
    margin-right: 0.55rem;
    margin-left: 0.34rem;
}
.hosHtCountBomBox {
    padding-top: 0.57rem;
}
.hosHeartEchartBox {
    width: 100%;
    height: 3.4rem;
    margin-top: 0.33rem;
    padding-bottom: 0.34rem;
    @include flex(row, center, center)
}
.hosHeartEchart {
    width: 6.4rem;
    height: 3.4rem;
    
}
.hosBloodTop {
    height: 0.5rem;
    padding-top: 0.31rem;
    border-bottom: none;
}
.hosBloodTip {
    width: 100%;
    height: 0.92rem;
    background: rgba(242, 36, 36, 0.06);
    border-radius: 0.31rem;
    font-family: "MiSans-Regular";
    font-size: 0.27rem;
    font-weight: 400;
    color: #F22424;
    padding-left: 0.27rem;
    box-sizing: border-box;
    margin-top: 0.40rem;
    @include flex(row, flex-start, center);
}

.hosBloodLi {
    width: 100%;
    height: 1.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    @include flex(column, center, flex-start);
}
.hosBlCtTit {
    margin-left: 0.23rem;
}
.hosBloodLiBom {
    font-family: "MiSans-Regular";
    font-weight: 400;
    font-size: 0.29rem;
    color: rgba(0,0,0,0.4);
    line-height: 0.34rem;
    margin-top: 0.23rem;
    @include flex(row, flex-start, center);
}
.hosBloodLiBomInd {
    width: 3.8rem;
    display: inline-block;
    margin-left: 0.23rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hosBloodLiBox:last-child .hosBloodLi {
    border-bottom: none;
}


.hidden {
    display: none !important;
}